package com.lebang.example;

import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;

public class CencesIdentityCardExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Long offset;

    public CencesIdentityCardExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

    public Long getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(LocalDate value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(LocalDate value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(LocalDate value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(LocalDate value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(LocalDate value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(LocalDate value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<LocalDate> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<LocalDate> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(LocalDate value1, LocalDate value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(LocalDate value1, LocalDate value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andTimeIsNull() {
            addCriterion("`time` is null");
            return (Criteria) this;
        }

        public Criteria andTimeIsNotNull() {
            addCriterion("`time` is not null");
            return (Criteria) this;
        }

        public Criteria andTimeEqualTo(Integer value) {
            addCriterion("`time` =", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotEqualTo(Integer value) {
            addCriterion("`time` <>", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeGreaterThan(Integer value) {
            addCriterion("`time` >", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("`time` >=", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeLessThan(Integer value) {
            addCriterion("`time` <", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeLessThanOrEqualTo(Integer value) {
            addCriterion("`time` <=", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeIn(List<Integer> values) {
            addCriterion("`time` in", values, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotIn(List<Integer> values) {
            addCriterion("`time` not in", values, "time");
            return (Criteria) this;
        }

        public Criteria andTimeBetween(Integer value1, Integer value2) {
            addCriterion("`time` between", value1, value2, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("`time` not between", value1, value2, "time");
            return (Criteria) this;
        }

        public Criteria andMenIsNull() {
            addCriterion("men is null");
            return (Criteria) this;
        }

        public Criteria andMenIsNotNull() {
            addCriterion("men is not null");
            return (Criteria) this;
        }

        public Criteria andMenEqualTo(Integer value) {
            addCriterion("men =", value, "men");
            return (Criteria) this;
        }

        public Criteria andMenNotEqualTo(Integer value) {
            addCriterion("men <>", value, "men");
            return (Criteria) this;
        }

        public Criteria andMenGreaterThan(Integer value) {
            addCriterion("men >", value, "men");
            return (Criteria) this;
        }

        public Criteria andMenGreaterThanOrEqualTo(Integer value) {
            addCriterion("men >=", value, "men");
            return (Criteria) this;
        }

        public Criteria andMenLessThan(Integer value) {
            addCriterion("men <", value, "men");
            return (Criteria) this;
        }

        public Criteria andMenLessThanOrEqualTo(Integer value) {
            addCriterion("men <=", value, "men");
            return (Criteria) this;
        }

        public Criteria andMenIn(List<Integer> values) {
            addCriterion("men in", values, "men");
            return (Criteria) this;
        }

        public Criteria andMenNotIn(List<Integer> values) {
            addCriterion("men not in", values, "men");
            return (Criteria) this;
        }

        public Criteria andMenBetween(Integer value1, Integer value2) {
            addCriterion("men between", value1, value2, "men");
            return (Criteria) this;
        }

        public Criteria andMenNotBetween(Integer value1, Integer value2) {
            addCriterion("men not between", value1, value2, "men");
            return (Criteria) this;
        }

        public Criteria andTwelfIsNull() {
            addCriterion("twelf is null");
            return (Criteria) this;
        }

        public Criteria andTwelfIsNotNull() {
            addCriterion("twelf is not null");
            return (Criteria) this;
        }

        public Criteria andTwelfEqualTo(Integer value) {
            addCriterion("twelf =", value, "twelf");
            return (Criteria) this;
        }

        public Criteria andTwelfNotEqualTo(Integer value) {
            addCriterion("twelf <>", value, "twelf");
            return (Criteria) this;
        }

        public Criteria andTwelfGreaterThan(Integer value) {
            addCriterion("twelf >", value, "twelf");
            return (Criteria) this;
        }

        public Criteria andTwelfGreaterThanOrEqualTo(Integer value) {
            addCriterion("twelf >=", value, "twelf");
            return (Criteria) this;
        }

        public Criteria andTwelfLessThan(Integer value) {
            addCriterion("twelf <", value, "twelf");
            return (Criteria) this;
        }

        public Criteria andTwelfLessThanOrEqualTo(Integer value) {
            addCriterion("twelf <=", value, "twelf");
            return (Criteria) this;
        }

        public Criteria andTwelfIn(List<Integer> values) {
            addCriterion("twelf in", values, "twelf");
            return (Criteria) this;
        }

        public Criteria andTwelfNotIn(List<Integer> values) {
            addCriterion("twelf not in", values, "twelf");
            return (Criteria) this;
        }

        public Criteria andTwelfBetween(Integer value1, Integer value2) {
            addCriterion("twelf between", value1, value2, "twelf");
            return (Criteria) this;
        }

        public Criteria andTwelfNotBetween(Integer value1, Integer value2) {
            addCriterion("twelf not between", value1, value2, "twelf");
            return (Criteria) this;
        }

        public Criteria andForteenIsNull() {
            addCriterion("forteen is null");
            return (Criteria) this;
        }

        public Criteria andForteenIsNotNull() {
            addCriterion("forteen is not null");
            return (Criteria) this;
        }

        public Criteria andForteenEqualTo(Integer value) {
            addCriterion("forteen =", value, "forteen");
            return (Criteria) this;
        }

        public Criteria andForteenNotEqualTo(Integer value) {
            addCriterion("forteen <>", value, "forteen");
            return (Criteria) this;
        }

        public Criteria andForteenGreaterThan(Integer value) {
            addCriterion("forteen >", value, "forteen");
            return (Criteria) this;
        }

        public Criteria andForteenGreaterThanOrEqualTo(Integer value) {
            addCriterion("forteen >=", value, "forteen");
            return (Criteria) this;
        }

        public Criteria andForteenLessThan(Integer value) {
            addCriterion("forteen <", value, "forteen");
            return (Criteria) this;
        }

        public Criteria andForteenLessThanOrEqualTo(Integer value) {
            addCriterion("forteen <=", value, "forteen");
            return (Criteria) this;
        }

        public Criteria andForteenIn(List<Integer> values) {
            addCriterion("forteen in", values, "forteen");
            return (Criteria) this;
        }

        public Criteria andForteenNotIn(List<Integer> values) {
            addCriterion("forteen not in", values, "forteen");
            return (Criteria) this;
        }

        public Criteria andForteenBetween(Integer value1, Integer value2) {
            addCriterion("forteen between", value1, value2, "forteen");
            return (Criteria) this;
        }

        public Criteria andForteenNotBetween(Integer value1, Integer value2) {
            addCriterion("forteen not between", value1, value2, "forteen");
            return (Criteria) this;
        }

        public Criteria andSeventeenIsNull() {
            addCriterion("seventeen is null");
            return (Criteria) this;
        }

        public Criteria andSeventeenIsNotNull() {
            addCriterion("seventeen is not null");
            return (Criteria) this;
        }

        public Criteria andSeventeenEqualTo(Integer value) {
            addCriterion("seventeen =", value, "seventeen");
            return (Criteria) this;
        }

        public Criteria andSeventeenNotEqualTo(Integer value) {
            addCriterion("seventeen <>", value, "seventeen");
            return (Criteria) this;
        }

        public Criteria andSeventeenGreaterThan(Integer value) {
            addCriterion("seventeen >", value, "seventeen");
            return (Criteria) this;
        }

        public Criteria andSeventeenGreaterThanOrEqualTo(Integer value) {
            addCriterion("seventeen >=", value, "seventeen");
            return (Criteria) this;
        }

        public Criteria andSeventeenLessThan(Integer value) {
            addCriterion("seventeen <", value, "seventeen");
            return (Criteria) this;
        }

        public Criteria andSeventeenLessThanOrEqualTo(Integer value) {
            addCriterion("seventeen <=", value, "seventeen");
            return (Criteria) this;
        }

        public Criteria andSeventeenIn(List<Integer> values) {
            addCriterion("seventeen in", values, "seventeen");
            return (Criteria) this;
        }

        public Criteria andSeventeenNotIn(List<Integer> values) {
            addCriterion("seventeen not in", values, "seventeen");
            return (Criteria) this;
        }

        public Criteria andSeventeenBetween(Integer value1, Integer value2) {
            addCriterion("seventeen between", value1, value2, "seventeen");
            return (Criteria) this;
        }

        public Criteria andSeventeenNotBetween(Integer value1, Integer value2) {
            addCriterion("seventeen not between", value1, value2, "seventeen");
            return (Criteria) this;
        }

        public Criteria andTwentyTwoIsNull() {
            addCriterion("twenty_two is null");
            return (Criteria) this;
        }

        public Criteria andTwentyTwoIsNotNull() {
            addCriterion("twenty_two is not null");
            return (Criteria) this;
        }

        public Criteria andTwentyTwoEqualTo(Integer value) {
            addCriterion("twenty_two =", value, "twentyTwo");
            return (Criteria) this;
        }

        public Criteria andTwentyTwoNotEqualTo(Integer value) {
            addCriterion("twenty_two <>", value, "twentyTwo");
            return (Criteria) this;
        }

        public Criteria andTwentyTwoGreaterThan(Integer value) {
            addCriterion("twenty_two >", value, "twentyTwo");
            return (Criteria) this;
        }

        public Criteria andTwentyTwoGreaterThanOrEqualTo(Integer value) {
            addCriterion("twenty_two >=", value, "twentyTwo");
            return (Criteria) this;
        }

        public Criteria andTwentyTwoLessThan(Integer value) {
            addCriterion("twenty_two <", value, "twentyTwo");
            return (Criteria) this;
        }

        public Criteria andTwentyTwoLessThanOrEqualTo(Integer value) {
            addCriterion("twenty_two <=", value, "twentyTwo");
            return (Criteria) this;
        }

        public Criteria andTwentyTwoIn(List<Integer> values) {
            addCriterion("twenty_two in", values, "twentyTwo");
            return (Criteria) this;
        }

        public Criteria andTwentyTwoNotIn(List<Integer> values) {
            addCriterion("twenty_two not in", values, "twentyTwo");
            return (Criteria) this;
        }

        public Criteria andTwentyTwoBetween(Integer value1, Integer value2) {
            addCriterion("twenty_two between", value1, value2, "twentyTwo");
            return (Criteria) this;
        }

        public Criteria andTwentyTwoNotBetween(Integer value1, Integer value2) {
            addCriterion("twenty_two not between", value1, value2, "twentyTwo");
            return (Criteria) this;
        }

        public Criteria andTwentySixIsNull() {
            addCriterion("twenty_six is null");
            return (Criteria) this;
        }

        public Criteria andTwentySixIsNotNull() {
            addCriterion("twenty_six is not null");
            return (Criteria) this;
        }

        public Criteria andTwentySixEqualTo(Integer value) {
            addCriterion("twenty_six =", value, "twentySix");
            return (Criteria) this;
        }

        public Criteria andTwentySixNotEqualTo(Integer value) {
            addCriterion("twenty_six <>", value, "twentySix");
            return (Criteria) this;
        }

        public Criteria andTwentySixGreaterThan(Integer value) {
            addCriterion("twenty_six >", value, "twentySix");
            return (Criteria) this;
        }

        public Criteria andTwentySixGreaterThanOrEqualTo(Integer value) {
            addCriterion("twenty_six >=", value, "twentySix");
            return (Criteria) this;
        }

        public Criteria andTwentySixLessThan(Integer value) {
            addCriterion("twenty_six <", value, "twentySix");
            return (Criteria) this;
        }

        public Criteria andTwentySixLessThanOrEqualTo(Integer value) {
            addCriterion("twenty_six <=", value, "twentySix");
            return (Criteria) this;
        }

        public Criteria andTwentySixIn(List<Integer> values) {
            addCriterion("twenty_six in", values, "twentySix");
            return (Criteria) this;
        }

        public Criteria andTwentySixNotIn(List<Integer> values) {
            addCriterion("twenty_six not in", values, "twentySix");
            return (Criteria) this;
        }

        public Criteria andTwentySixBetween(Integer value1, Integer value2) {
            addCriterion("twenty_six between", value1, value2, "twentySix");
            return (Criteria) this;
        }

        public Criteria andTwentySixNotBetween(Integer value1, Integer value2) {
            addCriterion("twenty_six not between", value1, value2, "twentySix");
            return (Criteria) this;
        }

        public Criteria andThrityIsNull() {
            addCriterion("thrity is null");
            return (Criteria) this;
        }

        public Criteria andThrityIsNotNull() {
            addCriterion("thrity is not null");
            return (Criteria) this;
        }

        public Criteria andThrityEqualTo(Integer value) {
            addCriterion("thrity =", value, "thrity");
            return (Criteria) this;
        }

        public Criteria andThrityNotEqualTo(Integer value) {
            addCriterion("thrity <>", value, "thrity");
            return (Criteria) this;
        }

        public Criteria andThrityGreaterThan(Integer value) {
            addCriterion("thrity >", value, "thrity");
            return (Criteria) this;
        }

        public Criteria andThrityGreaterThanOrEqualTo(Integer value) {
            addCriterion("thrity >=", value, "thrity");
            return (Criteria) this;
        }

        public Criteria andThrityLessThan(Integer value) {
            addCriterion("thrity <", value, "thrity");
            return (Criteria) this;
        }

        public Criteria andThrityLessThanOrEqualTo(Integer value) {
            addCriterion("thrity <=", value, "thrity");
            return (Criteria) this;
        }

        public Criteria andThrityIn(List<Integer> values) {
            addCriterion("thrity in", values, "thrity");
            return (Criteria) this;
        }

        public Criteria andThrityNotIn(List<Integer> values) {
            addCriterion("thrity not in", values, "thrity");
            return (Criteria) this;
        }

        public Criteria andThrityBetween(Integer value1, Integer value2) {
            addCriterion("thrity between", value1, value2, "thrity");
            return (Criteria) this;
        }

        public Criteria andThrityNotBetween(Integer value1, Integer value2) {
            addCriterion("thrity not between", value1, value2, "thrity");
            return (Criteria) this;
        }

        public Criteria andFortyIsNull() {
            addCriterion("forty is null");
            return (Criteria) this;
        }

        public Criteria andFortyIsNotNull() {
            addCriterion("forty is not null");
            return (Criteria) this;
        }

        public Criteria andFortyEqualTo(Integer value) {
            addCriterion("forty =", value, "forty");
            return (Criteria) this;
        }

        public Criteria andFortyNotEqualTo(Integer value) {
            addCriterion("forty <>", value, "forty");
            return (Criteria) this;
        }

        public Criteria andFortyGreaterThan(Integer value) {
            addCriterion("forty >", value, "forty");
            return (Criteria) this;
        }

        public Criteria andFortyGreaterThanOrEqualTo(Integer value) {
            addCriterion("forty >=", value, "forty");
            return (Criteria) this;
        }

        public Criteria andFortyLessThan(Integer value) {
            addCriterion("forty <", value, "forty");
            return (Criteria) this;
        }

        public Criteria andFortyLessThanOrEqualTo(Integer value) {
            addCriterion("forty <=", value, "forty");
            return (Criteria) this;
        }

        public Criteria andFortyIn(List<Integer> values) {
            addCriterion("forty in", values, "forty");
            return (Criteria) this;
        }

        public Criteria andFortyNotIn(List<Integer> values) {
            addCriterion("forty not in", values, "forty");
            return (Criteria) this;
        }

        public Criteria andFortyBetween(Integer value1, Integer value2) {
            addCriterion("forty between", value1, value2, "forty");
            return (Criteria) this;
        }

        public Criteria andFortyNotBetween(Integer value1, Integer value2) {
            addCriterion("forty not between", value1, value2, "forty");
            return (Criteria) this;
        }

        public Criteria andFortyPlusIsNull() {
            addCriterion("forty_plus is null");
            return (Criteria) this;
        }

        public Criteria andFortyPlusIsNotNull() {
            addCriterion("forty_plus is not null");
            return (Criteria) this;
        }

        public Criteria andFortyPlusEqualTo(Integer value) {
            addCriterion("forty_plus =", value, "fortyPlus");
            return (Criteria) this;
        }

        public Criteria andFortyPlusNotEqualTo(Integer value) {
            addCriterion("forty_plus <>", value, "fortyPlus");
            return (Criteria) this;
        }

        public Criteria andFortyPlusGreaterThan(Integer value) {
            addCriterion("forty_plus >", value, "fortyPlus");
            return (Criteria) this;
        }

        public Criteria andFortyPlusGreaterThanOrEqualTo(Integer value) {
            addCriterion("forty_plus >=", value, "fortyPlus");
            return (Criteria) this;
        }

        public Criteria andFortyPlusLessThan(Integer value) {
            addCriterion("forty_plus <", value, "fortyPlus");
            return (Criteria) this;
        }

        public Criteria andFortyPlusLessThanOrEqualTo(Integer value) {
            addCriterion("forty_plus <=", value, "fortyPlus");
            return (Criteria) this;
        }

        public Criteria andFortyPlusIn(List<Integer> values) {
            addCriterion("forty_plus in", values, "fortyPlus");
            return (Criteria) this;
        }

        public Criteria andFortyPlusNotIn(List<Integer> values) {
            addCriterion("forty_plus not in", values, "fortyPlus");
            return (Criteria) this;
        }

        public Criteria andFortyPlusBetween(Integer value1, Integer value2) {
            addCriterion("forty_plus between", value1, value2, "fortyPlus");
            return (Criteria) this;
        }

        public Criteria andFortyPlusNotBetween(Integer value1, Integer value2) {
            addCriterion("forty_plus not between", value1, value2, "fortyPlus");
            return (Criteria) this;
        }

        public Criteria andWomenIsNull() {
            addCriterion("women is null");
            return (Criteria) this;
        }

        public Criteria andWomenIsNotNull() {
            addCriterion("women is not null");
            return (Criteria) this;
        }

        public Criteria andWomenEqualTo(Integer value) {
            addCriterion("women =", value, "women");
            return (Criteria) this;
        }

        public Criteria andWomenNotEqualTo(Integer value) {
            addCriterion("women <>", value, "women");
            return (Criteria) this;
        }

        public Criteria andWomenGreaterThan(Integer value) {
            addCriterion("women >", value, "women");
            return (Criteria) this;
        }

        public Criteria andWomenGreaterThanOrEqualTo(Integer value) {
            addCriterion("women >=", value, "women");
            return (Criteria) this;
        }

        public Criteria andWomenLessThan(Integer value) {
            addCriterion("women <", value, "women");
            return (Criteria) this;
        }

        public Criteria andWomenLessThanOrEqualTo(Integer value) {
            addCriterion("women <=", value, "women");
            return (Criteria) this;
        }

        public Criteria andWomenIn(List<Integer> values) {
            addCriterion("women in", values, "women");
            return (Criteria) this;
        }

        public Criteria andWomenNotIn(List<Integer> values) {
            addCriterion("women not in", values, "women");
            return (Criteria) this;
        }

        public Criteria andWomenBetween(Integer value1, Integer value2) {
            addCriterion("women between", value1, value2, "women");
            return (Criteria) this;
        }

        public Criteria andWomenNotBetween(Integer value1, Integer value2) {
            addCriterion("women not between", value1, value2, "women");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}